/**
 * Created by zzc on 2017/11/15.
 */
import React, {Component} from 'react';

import {
    View,
    Image,
    Text,
    StyleSheet
} from 'react-native';

import {
    StackNavigator,
    TabNavigator
} from 'react-navigation';

export default class HomeReadComponent extends React.Component {
    render() {
        return (
            <View style={{margin:5,backgroundColor:'white'}}>
                <Image style={styles.image} source={{uri: 'http://file.ishangzu.com/app/2017/9/5/15/e7d9afa3-be2e-4346-8b9f-cc52997e1723.jpg'}} />

                <Image style={styles.image2} source={{uri: 'http://file.ishangzu.com/app/2017/11/6/15/98e6e7cd-d3e9-46e6-99a5-3903d91f6da2.jpg'}} />

                <Text style={{color:'black',fontSize:18,marginTop:5,marginBottom:5}}>爱上租大数据解读 | 2017年三季度租房市场报告</Text>
            </View>
        );
    }
}

const styles = StyleSheet.create({
    image: {
        flex:1,
        height: 165,
    },
    image2: {
        flex:1,
        marginTop:5,
        height: 165,
    },
});
